package jrain.fw.script.operator;

import jrain.fw.script.tools.Logger;

//加法操作
public class PlusOperator extends ArithmeticOperator {

	public static final PlusOperator SINGLETON = new PlusOperator();

	public PlusOperator() {
	}

	public String getOperatorSymbol() {
		return "+";
	}

	public double apply(double pLeft, double pRight, Logger pLogger) {
		return pLeft + pRight;
	}

	public long apply(long pLeft, long pRight, Logger pLogger) {
		return pLeft + pRight;
	}

}
